local status, autopairs = pcall(require, "nvim-autopairs")
local status2, cmp = pcall(require, "cmp")

if (not (status and status2)) then return end

autopairs.setup({
  disable_filetype = { "TelescopePrompt" , "vim" },
})

autopairs.options = {
  fast_wrap = {},
  disable_filetype = { "TelescopePrompt", "vim" },
}

local cmp_autopairs = require "nvim-autopairs.completion.cmp"
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
